<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>

<div class="weui-cells" style="margin-top: 0px;">
	<c:forEach items="${teamShareCustomers}" var="teamShare">
		<a class="weui-cell" href="<c:url value='/wechat/cust/personCenter/currentTeamShare?id=${teamShare.id}&username=${teamShare.username}' />">
			<div class="weui-cell__hd">
				<img style="width: 48px; height: 48px; border-radius: 50%;" src="${teamShare.picPath}">
			</div>
			<div class="weui-cell__bd">
				<c:if test="${teamShare.username==null || teamShare.username eq ''}">
				     <p style="color: #000;">${teamShare.nickname}</p>
				</c:if>
				<c:if test="${teamShare.username!=null && teamShare.username ne ''}">
				   <p style="color: #000;">${teamShare.username}</p>
				 </c:if>
				<span class="weui-badge" style="font-size: 14px; background-color: #2196F3;"> 
					<t:provider packageName="cust" enumClassName="CustomerLevel" value="${teamShare.level}" />
				</span>
			</div> 
			<c:if test="${teamShare.level eq 'maker' || teamShare.level eq 'highMaker'}">
				<div class="weui-cell__ft">
					<span style="font-size: 15px;">客户数</span> 
					<span class="weui-badge" style="font-size: 14px; background-color: #2196F3;">${teamShare.personCount}</span>
				</div>
			</c:if>
		</a>
	</c:forEach>
</div>
